//import java.util.Scanner;


public class Sandbox 
{

	public static void main(String[] args) 
	{
		int x= 12345678;
		
		int part1=x%100;
		int part2=(x/1000)%1000;
		int part3=x/1000000;
		System.out.println(part1);
	} 
}
